Renderingen-US

async tempus dormiet

Translation status: English reader-locale proof. Code fences render through the en pipeline; prose is canonical Latin.

Async tempus.dormiet and sync tempus.expectet share the tempus:dormiet route.

Syntax: tempus.expectet(ms) | tacebit tempus.dormiet(ms)

Category#

ad

Examples#

radix/corpus/ad/async-tempus-dormiet.fab (canonical · concept)#

Async tempus.dormiet and sync tempus.expectet share the tempus:dormiet route.

# =============================================================================
# async tempus dormiet — async tempus.dormiet and sync tempus.expectet share
# the tempus:dormiet route.
# =============================================================================
#
# What this teaches:
#   • Timer proof pair — `expectet` (sync) and `dormiet` (async) use the same
#     `tempus:dormiet` route; caller posture selects the materializer
#   • Async entry — `incipiet { … }` is the async program entry point
#
# Common mistakes:
#   • confusing ad route syntax — `tacebit` awaits and discards async completion
#
# See also: ad, tempus, futura, sermo
# =============================================================================

# Timer proof pair for async `ad` materialization.
#
# `expectet` is the synchronous wrapper and `dormiet` is the async wrapper.
# Norma currently declares the async wrapper with compatibility `@ futura`; this
# example consumes it through `tacebit`.

import from "norma:tempus" private tempus

async_main {
    tempus.expectet(0)
    await tempus.dormiet(0)
    assert true
}